package com.wx.wxapp.exception;

import org.omg.SendingContext.RunTime;

public class ImgException extends RuntimeException{
    public static int NAME_EMPTY = 101;
    public static final String NAME_EMPTY_MESSAGE = "姓名为空";
    private Integer code;
    public ImgException(String message){
        super(message);
        this.code = NAME_EMPTY;
    }
    public ImgException(String message,Integer code){
        super(message);
        this.code = code;
    }
    public Integer getCode() {
        return code;
    }
    public void setCode(Integer code){
        this.code = code;
    }
}
